package com.letoken.platform.repo.app.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * app用户信息表
 * </p>
 *
 * @author 作者
 * @since 2022-11-14
 */
@Getter
@Setter
@TableName("app_user_locked")
@ApiModel(value = "app_user_locked对象", description = "app用户锁定表")
public class AppUserLocked extends Model<AppUserLocked> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键Id")
    @TableId(value = "id")
    private Integer id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("账号是否锁定 0正常 1冻结")
    @TableField("locked")
    private Integer locked;

    @ApiModelProperty("操作管理员")
    @TableField("operator")
    private Integer operator;

    @ApiModelProperty("修改管理员")
    @TableField("edited_admin")
    private Integer editedAdmin;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


    private String remark;


}
